Skip to content

[DTOSS-12524] - Add logic-app-slack-alert module for Azure Monitor Slack notifications#286

Merged
josielsouzanordcloud merged 1 commit intomainfrom
DTOSS-12524-slack-exception-alert-notifications
Mar 31, 2026
Merged

[DTOSS-12524] - Add logic-app-slack-alert module for Azure Monitor Slack notifications#286
josielsouzanordcloud merged 1 commit intomainfrom
DTOSS-12524-slack-exception-alert-notifications

Conversation

@josielsouzanordcloud
Copy link
Copy Markdown
Contributor

Summary

  • Adds a new logic-app-slack-alert Terraform module that deploys an Azure Logic App to receive Azure Monitor alert webhook payloads (common alert schema) and forward them to Slack as formatted Block Kit messages
  • Message includes alert rule name, severity, status, fired time, affected resource, description, and a deep link (App Insights Failures blade for App Insights alerts, resource overview for all others)
  • Slack webhook URL is stored as a SecureString workflow parameter so it does not appear in run history or trigger inputs in the Azure portal
  • Exposes trigger_callback_url (sensitive) for registration with an Azure Monitor action group webhook receiver
  • Updates virtual-desktop/tfdocs.md to document the principal_id variable and azurerm_role_assignment.avd_autoscale_hostpool

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

rfk-nc
rfk-nc previously approved these changes Mar 31, 2026
Copy link
Copy Markdown
Contributor

@rfk-nc rfk-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice :)

@josielsouzanordcloud josielsouzanordcloud force-pushed the DTOSS-12524-slack-exception-alert-notifications branch from d50e990 to a3f179a Compare March 31, 2026 16:30
@josielsouzanordcloud josielsouzanordcloud added this pull request to the merge queue Mar 31, 2026
Merged via the queue into main with commit 9dfe816 Mar 31, 2026
13 checks passed
@josielsouzanordcloud josielsouzanordcloud deleted the DTOSS-12524-slack-exception-alert-notifications branch March 31, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants